package com.woniu.pojo;

import java.io.Serializable;

/**
 * student
 * @author 
 */
public class Student implements Serializable {
    /**
     * 人数
     */
    private int count;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    /**
     * 学号
     */
    private Integer sid;

    /**
     * 班级
     */
    private Integer cid;

    /**
     * 姓名
     */
    private String stname;

    /**
     * 软删除
     */
    private Integer softdel;

    /**
     * 状态
     */
    private String sstate;

    /**
     * 性别
     */
    private String sex;

    /**
     * qq号
     */
    private String qq;

    /**
     * 来源（生源地）
     */
    private String resource;

    /**
     * 手机号
     */
    private String uphone;

    /**
     * 联系人
     */
    private String sos;

    /**
     * 紧急电话
     */
    private String sosphone;

    /**
     * 大学
     */
    private String un;

    /**
     * 学历
     */
    private String degree;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 专业
     */
    private String specialty;

    /**
     * 照片
     */
    private String icon;

    /**
     * 身份证
     */
    private String sfz;

    /**
     * 班级
     */


    private Clazz clazz;
    private  String ifDoInterview;


    public String getIfDoInterview() {
        return ifDoInterview;
    }

    public void setIfDoInterview(String ifDoInterview) {
        this.ifDoInterview = ifDoInterview;
    }

    /**
     * 成绩
     */
    private Mark mark;

    public Mark getMark() {
        return mark;
    }

    public void setMark(Mark mark) {
        this.mark = mark;
    }

    private static final long serialVersionUID = 1L;

    public Clazz getClazz() {
        return clazz;
    }

    public void setClazz(Clazz clazz) {
        this.clazz = clazz;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getStname() {
        return stname;
    }

    public void setStname(String stname) {
        this.stname = stname;
    }

    public Integer getSoftdel() {
        return softdel;
    }

    public void setSoftdel(Integer softdel) {
        this.softdel = softdel;
    }

    public String getSstate() {
        return sstate;
    }

    public void setSstate(String sstate) {
        this.sstate = sstate;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

    public String getSos() {
        return sos;
    }

    public void setSos(String sos) {
        this.sos = sos;
    }

    public String getSosphone() {
        return sosphone;
    }

    public void setSosphone(String sosphone) {
        this.sosphone = sosphone;
    }

    public String getUn() {
        return un;
    }

    public void setUn(String un) {
        this.un = un;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getSfz() {
        return sfz;
    }

    public void setSfz(String sfz) {
        this.sfz = sfz;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Student other = (Student) that;
        return (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()))
            && (this.getCid() == null ? other.getCid() == null : this.getCid().equals(other.getCid()))
            && (this.getStname() == null ? other.getStname() == null : this.getStname().equals(other.getStname()))
            && (this.getSoftdel() == null ? other.getSoftdel() == null : this.getSoftdel().equals(other.getSoftdel()))
            && (this.getSstate() == null ? other.getSstate() == null : this.getSstate().equals(other.getSstate()))
            && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
            && (this.getQq() == null ? other.getQq() == null : this.getQq().equals(other.getQq()))
            && (this.getResource() == null ? other.getResource() == null : this.getResource().equals(other.getResource()))
            && (this.getUphone() == null ? other.getUphone() == null : this.getUphone().equals(other.getUphone()))
            && (this.getSos() == null ? other.getSos() == null : this.getSos().equals(other.getSos()))
            && (this.getSosphone() == null ? other.getSosphone() == null : this.getSosphone().equals(other.getSosphone()))
            && (this.getUn() == null ? other.getUn() == null : this.getUn().equals(other.getUn()))
            && (this.getDegree() == null ? other.getDegree() == null : this.getDegree().equals(other.getDegree()))
            && (this.getAge() == null ? other.getAge() == null : this.getAge().equals(other.getAge()))
            && (this.getSpecialty() == null ? other.getSpecialty() == null : this.getSpecialty().equals(other.getSpecialty()))
            && (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
            && (this.getSfz() == null ? other.getSfz() == null : this.getSfz().equals(other.getSfz()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
        result = prime * result + ((getCid() == null) ? 0 : getCid().hashCode());
        result = prime * result + ((getStname() == null) ? 0 : getStname().hashCode());
        result = prime * result + ((getSoftdel() == null) ? 0 : getSoftdel().hashCode());
        result = prime * result + ((getSstate() == null) ? 0 : getSstate().hashCode());
        result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
        result = prime * result + ((getQq() == null) ? 0 : getQq().hashCode());
        result = prime * result + ((getResource() == null) ? 0 : getResource().hashCode());
        result = prime * result + ((getUphone() == null) ? 0 : getUphone().hashCode());
        result = prime * result + ((getSos() == null) ? 0 : getSos().hashCode());
        result = prime * result + ((getSosphone() == null) ? 0 : getSosphone().hashCode());
        result = prime * result + ((getUn() == null) ? 0 : getUn().hashCode());
        result = prime * result + ((getDegree() == null) ? 0 : getDegree().hashCode());
        result = prime * result + ((getAge() == null) ? 0 : getAge().hashCode());
        result = prime * result + ((getSpecialty() == null) ? 0 : getSpecialty().hashCode());
        result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
        result = prime * result + ((getSfz() == null) ? 0 : getSfz().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sid=").append(sid);
        sb.append(", cid=").append(cid);
        sb.append(", stname=").append(stname);
        sb.append(", softdel=").append(softdel);
        sb.append(", sstate=").append(sstate);
        sb.append(", sex=").append(sex);
        sb.append(", qq=").append(qq);
        sb.append(", resource=").append(resource);
        sb.append(", uphone=").append(uphone);
        sb.append(", sos=").append(sos);
        sb.append(", sosphone=").append(sosphone);
        sb.append(", un=").append(un);
        sb.append(", degree=").append(degree);
        sb.append(", age=").append(age);
        sb.append(", specialty=").append(specialty);
        sb.append(", icon=").append(icon);
        sb.append(", sfz=").append(sfz);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}